//Manage create and destroy object

#ifndef OBJECT_MANAGER_H
#define OBJECT_MANAGER_H

#include <vector>
#include <map>
#include "Engine2D/game.h"

using namespace game;

class ObjectManager
{
  public:
    ObjectManager();
    void CreateObject(int, float, float, int);
    void DestroyObject(GameObject*);
    std::vector<GameObject*> GetObjects();
    ~ObjectManager();
    
  private:
    std::vector<GameObject*> vObject;
    std::map<int, Sprite*> mSprite;
};

#endif